#add_executable(
#    gcd_array_generator
#    ta_gcd/gcd_array_generator.cpp
#)
#target_link_libraries(
#    gcd_array_generator
#    IR_lib
#)

# add_executable(
#     stu_assign_generator
#     stu_cpp/assign_generator.cpp
# )
# target_link_libraries(
#     stu_assign_generator    
#     IR_lib
# )
# add_executable(
#     stu_fun_generator
#     stu_cpp/fun_generator.cpp
# )
# target_link_libraries(
#     stu_fun_generator    
#     IR_lib
# )

project(ProjectName)

cmake_minimum_required(VERSION 3.22)

include_directories(/home/yang/openmp/cb/gitee_lesson/cminus_compiler-2022-fall/include/lightir)
link_libraries(/home/yang/openmp/cb/gitee_lesson/cminus_compiler-2022-fall/build/libIR_lib.a)


 add_executable(
     stu_if_generator
     stu_cpp/if_generator.cpp
 )
 target_link_libraries(
     stu_if_generator
 )
# add_executable(
#     stu_while_generator
#     stu_cpp/while_generator.cpp
# )
# target_link_libraries(
#     stu_while_generator    
#     IR_lib
# )
